#!/usr/bin/env python
# -*- encoding: utf-8 -*-

class JZ_SU_QALL_0002(object):
    """
    结果数据表
    
    """
    # 主键
    ID = None
    # 机组号    　
    UNIT_CODE = None
    # 停机日期    　
    SD_DATE = None
    # 停机时间（小时）    重复字段    　
    SD_TIME = None
    # 停机开始时间    　
    SD_START = None
    # 停机结束时间    　
    SD_END = None
    # 停机时间（分钟）    重复字段
    SUBTOTAL = None

    def __init__(self, p_dict: dict = None):
        self.ID = p_dict['ID']
        self.UNIT_CODE = p_dict['UNIT_CODE']
        self.SD_DATE = p_dict['SD_DATE']
        self.SD_TIME = p_dict['SD_TIME']
        self.SD_START = p_dict['SD_START']
        self.SD_END = p_dict['SD_END']
        self.SUBTOTAL = p_dict['SUBTOTAL']
        pass

    def serialize(self) -> (dict):
        return self.__dict__
